import { ILoginState } from './login/types'
import { ITableState } from './main/table/types'
import { IChartState } from './main/chart/types'
export interface IRootState {
  name: string
  password: string
  entireDepartment: any[]
  entireRole: any[]
  entireMenu: any[]
}

export interface IRootWithModule {
  login: ILoginState
  table: ITableState
  chart: IChartState
}

export type IStoreType = IRootState & IRootWithModule
